package com.zyz.bookborrowing.dao;

import com.zyz.bookborrowing.bean.Book;

import java.util.List;

public interface IBookDao {

    public List<Book> list(Book book);

    public Integer save(Book book);

    public Integer updateBook(Book book);

    public Integer deleteById(Integer id);

    public Book queryById(Integer id);

    List<Book> queryListByState(int code);
}
